package com.htd.htdapmservice.service.impl;

import com.htd.htdapmdmo.OneAlertFilterKey;
import com.htd.htdapmservice.dao.OneAlertFilterKeyDao;
import com.htd.htdapmservice.service.intf.OneAlertFilterKeyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OneAlertFilterKeyServiceImpl implements OneAlertFilterKeyService {

    @Autowired
    private OneAlertFilterKeyDao oneAlertFilterKeyDao;

    @Override
    public List<OneAlertFilterKey> findOneAlertFilterKeyListByType(String filterType) {
        return oneAlertFilterKeyDao.findOneAlertFilterKeyListByType(filterType);
    }

    @Override
    public List<OneAlertFilterKey> findOneAlertFilterKeyList() {
        return oneAlertFilterKeyDao.findOneAlertFilterKeyList();
    }
}
